<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_validator = $show_scroll = $show_dialog = 1;
include $this->admin_tpl('header', 'admin');
?>
<h3 style="padding-left: 20px;padding-top: 10px">
<?php echo $info['real_name']?>——个人信息
<a href="javascript:history.back(-1);" style="font-size:14px;color: #0000FF"><em>返回上一级</em></a>
</h3>
	<div class="pad-10">
	<div class="col-tab">
	<ul class="tabBut cu-li">
		<li id="tab_info_1" class="on" onclick="SwapTab('info','on','',6,1);"><?php echo L('basic_info', '', 'admin');?></li>
		<li id="tab_info_2" onclick="SwapTab('info','on','',6,2);"><?php echo L('extend_info')?></li>
	</ul>
		<div class="col-tab">
			<div id="div_info_1" class="contentList pad-10">
				<table width="100%" class="table_form ">
					<tbody>
						<tr>
							<th width="200"><?php echo L('moter_realname')?>：</th>
							<td><?php if(!empty($info['real_name'])){echo $info['real_name'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('moter_enname')?>：</th>
							<td><?php if(!empty($info['en_name'])){echo $info['en_name'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('moter_nickname')?>：</th>
							<td><?php if(!empty($info['nickname'])){echo $info['nickname'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('moter_gender')?>：</th>
							<td><?php if($info['gender'] == '1'){echo '男';}elseif($info['gender'] == '2'){echo '女';}elseif($info['gender'] == '3'){echo '保密';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('talent_type')?>：</th>
							<td><?php if($info['is_signed_model'] == '0'){echo '非签约模特';}elseif($info['is_signed_model'] == '1'){echo '签约模特';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('people')?>：</th>
							<td><?php if(!empty($info['people'])){if($info['people'] == '1'){echo '中模';}elseif($info['people'] == '2'){echo '外模';}}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('blood_type')?>：</th>
							<td><?php if(!empty($info['blood_type'])){if($info['blood_type'] == 'A'){echo 'A型';}elseif($info['blood_type'] == 'B'){echo 'B型';}elseif($info['blood_type'] == 'O'){echo 'O型';}elseif($info['blood_type'] == 'AB'){echo 'AB型';}}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('label')?>：</th>
							<td><?php if(!empty($info['label'])){if($info['label'] == '1'){echo '超级女模';}elseif($info['label'] == '2'){echo '超级男模';}elseif($info['label'] == '3'){echo '少儿模特';}}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('letter')?>：</th>
							<td><?php if(!empty($info['letter'])){echo $info['letter'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('source')?>：</th>
							<td><?php if(!empty($info['source'])){if($info['source']==1){echo '站内录入';}elseif($info['source']==2){echo '认证导入';}elseif($info['source']==3){echo '报名自动导入';}elseif($info['source']==4){echo '新丝路旧版网站数据';}else{echo '其他';}}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('moter_age')?>：</th>
							<td><?php if(!empty($info['age'])){echo $info['age'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th><?php echo L('moter_birthday')?>：</th>
							<td><?php if(!empty($info['birthday'])){echo $info['birthday'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('telephone')?>：</th>
							<td><?php if(!empty($info['telephone'])){echo $info['telephone'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('email')?>：</th>
							<td><?php if(!empty($info['email'])){echo $info['email'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('identification')?>：</th>
							<td><?php if(!empty($info['identification'])){echo $info['identification'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('o_company')?>：</th>
							<td><?php if(!empty($info['company'])){echo $info['company'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('height')?>：</th>
							<td><?php if(!empty($info['height'])){echo $info['height'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('weight')?>：</th>
							<td><?php if(!empty($info['weight'])){echo $info['weight'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('university')?>：</th>
							<td><?php if(!empty($info['university'])){echo $info['university'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('diploma')?>：</th>
							<td><?php if(!empty($info['diploma'])){$diploma = $this->talent_xl;echo $diploma[$info['diploma']];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('province')?>：</th>
							<td><?php if(!empty($info['province'])){echo $info['province'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('city')?>：</th>
							<td><?php if(!empty($info['city'])){echo $info['city'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('bust')?>：</th>
							<td><?php if(!empty($info['bust'])){echo $info['bust'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('waist')?>：</th>
							<td><?php if(!empty($ifo['waist'])){echo $info['waist'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('hips')?>：</th>
							<td><?php if(!empty($info['hips'])){echo $info['hips'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('shoe_size')?>：</th>
							<td><?php if(!empty($info['shoe_size'])){echo $info['shoe_size'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('address')?>：</th>
							<td><?php if(!empty($info['address'])){echo $info['address'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200">城市（官网）：</th>
							<td><?php if(!empty($info['new_city'])){echo $info['new_city'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('voice_url')?>：</th>
							<td><?php if(!empty($info['voice_url'])){echo $info['voice_url'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200">视频链接：</th>
							<td>
								<?php if(!empty($info['video_url'])){echo $info['video_url'];}else{echo '<font color="red">（未设置）</font>';}?>
							</td>
						</tr>
						<tr>
							<th>视频封面图：</th>
							<td>
								<img width="200" alt="" src="<?php echo $info['video_cover']?>" onerror="javascript:this.src='<?php echo IMG_PATH?>/nopic.gif'">
							</td>
						</tr>
					</tbody>
				</table>
			</div>
			<div id="div_info_2" class="contentList pad-10 hidden">
				<table width="100%" class="table_form ">
						<tr>
							<th><?php echo L('image_square')?>：</th>
							<td><img width="200" alt="" src="<?php echo $info['image_square']?>" onerror="javascript:this.src='<?php echo IMG_PATH?>/nopic.gif'"></td>
						</tr>
						<tr>
							<th><?php echo L('image_circular')?>：</th>
							<td><img width="200" alt="" src="<?php echo $info['image_circular']?>" onerror="javascript:this.src='<?php echo IMG_PATH?>/nopic.gif'"></td>
						</tr>
						<tr>
							<th><?php echo L('image_horizontal')?>：</th>
							<td><img width="200" alt="" src="<?php echo $info['image_horizontal']?>" onerror="javascript:this.src='<?php echo IMG_PATH?>/nopic.gif'"></td>
						</tr>
						<tr>
							<th><?php echo L('image_vertical')?>：</th>
							<td><img width="200" alt="" src="<?php echo $info['image_vertical']?>" onerror="javascript:this.src='<?php echo IMG_PATH?>/nopic.gif'"></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('hobby')?>：</th>
							<?php if(!empty($info['hobby'])){?>
							<td><textarea name="moter[hobby]" id="hobby"><?php echo $info['hobby']?></textarea><?php echo form::editor('hobby','full','','','','','','')?></td>
							<?php }else{?>
							<td><font color="red">（未设置）</font></td>
							<?php }?>
						</tr>
						<tr>
							<th width="200"><?php echo L('introduction')?>：</th>
							<?php if(!empty($info['introduction'])){?>
							<td><textarea name="moter[introduction]" id="introduction"><?php echo $info['introduction']?></textarea><?php echo form::editor('introduction','full','','','','','','')?></td>
							<?php }else{?>
							<td><font color="red">（未设置）</font></td>
							<?php }?>
						</tr>
						<tr>
							<th width="200"><?php echo L('award')?>：</th>
							<?php if(!empty($info['award'])){?>
							<td><textarea name="moter[award]" id="award"><?php echo $info['award']?></textarea><?php echo form::editor('award','full','','','','','','')?></td>
							<?php }else{?>
							<td><font color="red">（未设置）</font></td>
							<?php }?>
						</tr>
						<tr>
							<th width="200"><?php echo L('autograph')?>：</th>
							<?php if(!empty($info['autograph'])){?>
							<td><textarea name="moter[autograph]" id="autograph"><?php echo $info['autograph']?></textarea><?php echo form::editor('autograph','full','','','','','','')?></td>
							<?php }else{?>
							<td><font color="red">（未设置）</font></td>
							<?php }?>
						</tr>
				</table>
			</div>
		</div>
	</div>
</div>
</body>
</html>
<script type="text/javascript">

function SwapTab(name,cls_show,cls_hide,cnt,cur){
	for(i=1;i<=cnt;i++){
		if(i==cur){
			 $('#div_'+name+'_'+i).show();
			 $('#tab_'+name+'_'+i).attr('class',cls_show);
		}else{
			 $('#div_'+name+'_'+i).hide();
			 $('#tab_'+name+'_'+i).attr('class',cls_hide);
		}
	}
}
</script>